# list01 = [1, 2]
# list02 = list01.copy()
# list01[0] = 100
# print(list02[0])  # 1
import copy

# list01 = [1, [2, 3]]
# list02 = list01.copy()
#
# list01[1][0] = 200
# print(list02[1][0])   #200

#   深拷贝
list01 = [1, [2, 3]]
list02 = copy.deepcopy(list01)
list01[1][0] = 200
print(list02[1][0])
